package com.sqfw.project.wp.domain.vo;


import com.sqfw.project.wp.domain.SysMiniFile;
import com.sqfw.project.wp.domain.WpHandleLog;
import com.sqfw.project.wp.domain.WpInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(value="QualityAuditDetailVO",description = "质检返回详情")
public class WpDetailVO implements Serializable {

    @ApiModelProperty("用户信息")
    private CommUserInfo commUserInfo;

    @ApiModelProperty("工单信息")
    private WpInfo wpInfo;

    @ApiModelProperty("工单轨迹信息")
    private List<WpHandleLog> wpHandleLogList;

    @ApiModelProperty("文件下载列表")
    private List<SysMiniFile> sysMiniFileList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    @Builder
    @ApiModel(value="CommUserInfo",description = "市民信息")
    public static class CommUserInfo{

        @ApiModelProperty("姓名")
        private String name;
        @ApiModelProperty("性别")
        private String genner;
        @ApiModelProperty("年龄")
        private String age;
        @ApiModelProperty("身份证")
        private String idno;
        @ApiModelProperty("电话1")
        private String phone1;
        @ApiModelProperty("电话2")
        private String phone2;
        @ApiModelProperty("所属区域")
        private String addrLeave1;
        @ApiModelProperty("所属街道")
        private String addrLeave2;
        @ApiModelProperty("所属居委")
        private String addrLeave3;
        @ApiModelProperty("联系地址")
        private String addrLeave4;

    }

}


